﻿export default [
  {
    path: '/',
    component: '../layouts/BlankLayout',
    routes: [
      {
        path: '/',
        component: '../layouts/SecurityLayout',
        routes: [
          {
            path: '/',
            component: '../layouts/BasicLayout',
            routes: [
              {
                path: '/',
                redirect: '/welcome',
              },
              {
                path: '/welcome',
                name: 'welcome',
                icon: 'smile',
                component: './Welcome',
              },
              {
                path: '/code-tools',
                name: '编码工具',
                icon: 'code',
                routes: [
                  {
                    path: '/code-tools/base64',
                    name: 'Base64加密解密',
                    icon: 'code',
                    component: './CodeTools/Base64',
                  },
                  {
                    path: '/code-tools/md5',
                    name: 'Md5加密',
                    icon: 'code',
                    component: './CodeTools/Md5',
                  },
                  {
                    path: '/code-tools/time-tool',
                    name: '时间转换',
                    icon: 'code',
                    component: './CodeTools/TimeTool',
                  },
                ],
              },
              {
                path: 'https://www.xwintop.com/',
                name: 'xwintop',
                icon: 'thunderbolt',
                target: '_blank',
              },
              {
                name: 'list.table-list',
                icon: 'table',
                path: '/list',
                component: './TableList',
              },
              {
                component: './404',
              },
            ],
          },
          {
            component: './404',
          },
        ],
      },
    ],
  },
  {
    component: './404',
  },
];
